<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
   <title> </title>
</head>
<body>

<form:form method="post" action="/asvp/memberaccount/create"  modelAttribute="memberaccountbean">
	
	<table id="insert_member" summary="" style="border: 1px solid red;">
	
	 <tr>  
        <td>firstName</td>
        <td><form:input path="member.firstName" value="${member.firstName}"></form:input></td> 
     </tr>
     
     <tr>  
        <td>lastName</td>
        <td><form:input path="member.lastName" value="${member.lastName}"></form:input></td> 
     </tr>  
     
     <tr>  
        <td>phone</td>
        <td><form:input path="member.phone" value="${member.phone}"></form:input></td> 
     </tr>
     
     <tr>  
        <td>email</td>
        <td><form:input path="member.email" value="${member.email}"></form:input></td> 
     </tr>  
     
     <tr>  
        <td>school</td>
        <td><form:input path="member.school" value="${member.school}"></form:input></td> 
     </tr>
     
     <tr>  
        <td>nationality</td>
        <td><form:input path="member.nationality" value="${member.nationality}"></form:input></td> 
     </tr>
     
      <tr>  
        <td>fiscalCode</td>
        <td><form:input path="member.fiscalCode" value="${member.fiscalCode}"></form:input></td> 
     </tr>
     
     <tr>  
        <td>birthDate</td>
        <td><form:input path="member.birthDate" value="${member.birthDate}"></form:input></td> 
     </tr>
     
     <tr>  
        <td>sex</td>
        <td><form:select path="member.sex" items="${all_sex}" /></td>
     </tr>
     
	</table>
	
	<div>
	
	    <tiles:insertDefinition name="address"/>
	
	</div>
	
	<div>
	
	    <tiles:insertDefinition name="memberaccount/account/insert"/>
	
	</div>
	
          <input type="submit" value="Submit">
</form:form>
</body>
</html>
